package com.competition.system.pojo;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author Lyq
 * @version 1.0
 * @create 2020/12/16 0:38
 */
@Data
@ToString
@Entity
@Table(name = "race")
public class Race {

    @Id
    private String id;
    private Date date;  //举办时间
    private String title;   //赛事名称
    private String level;   //级别
    private String type;    //类别
    private String sponsor; //主办方
    private String location;    //地点
    private String description; //描述
    private String note;    //备注

}
